<?php
$listcatmodunle=ListRootCatModunle($module);

$contents = ListBlogByParentId($id,$status);
if(count($contents)==0)
{
	$categories=ListCatByParentId($id,$status);
}
?>